#!/bin/ksh

if [ $(arch) == "amd64"
    then
        export PKG_PATH=http://libertybsd.net/pub/LibertyBSD/6.1/packages/amd64
        doas pkg_add -v redeclipse
    else
        export PKG_PATH=http://libertybsd.net/pub/LibertyBSD/6.1/packages/i386
        doas pkg_add -v redeclipse
fi

echo "Time to reap the profits, now!"
echo "If you didn't get any errors, redeclipse is now installed-- just run the 'redeclipse' command."
echo "Cheers!"
